<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>网页计算器</title>
</head>
<body>
    <h1>网页计算器</h1>
    <p>
        整数1：<input type="text" id="number">
    </p>
    <p>
        整数2：<input type="text" id="number1">
    </p>
    <p>
        <button onclick="num1('+')">相加</button>
        <button onclick="num1('-')">相减</button>
        <button onclick="num1('*')">相乘</button>
        <button onclick="num1('/')">相除</button>
    </p>
    <p>
        结果：<input type="text" id="result">
    </p>
</body>
<script src="js/script.js"></script>
</html>